<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>股票分析</title>
<style>
body {
	background: #fff;
	font-size: 12px;
	font-family: Arial;
	color: #666;
}

#tab1 {
	border-collapse: collapse;
}

#tab1 td {
	border: #000000 1px solid;
}
</style>

</head>

<body>

<table id="tab1">
	<tr>
        <td colspan="30">原始</td>
        <td colspan="20">偏离</td>
    </tr>
    <tr>
        <td colspan="30">&nbsp;</td>
        <td colspan="9">价格分析</td>
        <td colspan="5">规模分析</td>
        <td colspan="5">价值分析</td>
    </tr>
    <tr>
        <td>名称[0][1]</td>
        <td>等级</td>
        <td>最新价[2]</td>
        <td>涨跌幅[3]</td>
        <td>涨跌额[4]</td>
        <td>成交额(万)[5]</td>
        <td>今开盘[7]</td>
        <td>昨收盘[8]</td>
        <td>最高价[9]</td>
        <td>最低价[10]</td>
        <td>换手[11]</td>
        <td>振幅[12]</td>
        <td>量比[13]</td>
        <td>一年最高[14]</td>
        <td>一年最低[15]</td>
        <td>1周涨跌[16]</td>
        <td>4周涨跌[17]</td>
        <td>13周涨跌[18]</td>
        <td>52周涨跌[20]</td>
        <td>今年以来涨跌[21]</td>
        <td>流通市值(亿)[22]</td>
        <td>总市值(亿)[23]</td>
        <td>流通A股(万)[24]</td>
        <td>总股本[25]</td>
        <td>主营收入(亿)[26]</td>
        <td>净利润(亿)[27]</td>
        <td>市盈率LYR[28]</td>
        <td>市盈率TTM[29]</td>
        <td>市净率[30]</td>
        <td>每股收益[31]</td>
        <td>每股净资产[32]</td>
        <td>最新价</td>
        <td>涨跌幅</td>
        <td>一年最高</td>
        <td>一年最低</td>
        <td>1周涨跌</td>
        <td>4周涨跌</td>
        <td>13周涨跌</td>
        <td>52周涨跌</td>
        <td>今年以来涨跌</td>
        <td>流通市值</td>
        <td>总市值</td>
        <td>总股本</td>
        <td>主营收入</td>
        <td>净利润</td>
        <td>市盈率LYR</td>
        <td>市盈率TTM</td>
        <td>市净率</td>
        <td>每股收益</td>
        <td>每股净资产</td>
        
    </tr>
  

<?php
//header("Content-Type:text/html; charset=utf-8");
$type = isset($_GET['type']) ? $_GET['type'] : 0;
$date = isset($_GET['date']) ? $_GET['date'] : date('Y-m-d');
$path = $tablename = '';
switch ($type) {
    case 1: //房产
        $path = 'http://quotes.money.163.com/data/sort/item=ZJ,key=SYMBOL,page=1,count=200,node=05,orderStyle=ASC.html';
        $tablename = 'house';
        break;
    case 2: //金融
        $path = "http://quotes.money.163.com/data/sort/item=ZI,key=SYMBOL,page=1,count=200,node=05,orderStyle=ASC.html";
        $tablename = 'bank';
        break;
    case 3: //计算机
        $path = "http://quotes.money.163.com/data/sort/item=ZG83,key=SYMBOL,page=1,count=200,node=05,orderStyle=ASC.html";
        $tablename = 'computer';
        break;
    case 4: //金属钢铁
        $path = "http://quotes.money.163.com/data/sort/item=ZC65,key=SYMBOL,page=1,count=200,node=05,orderStyle=ASC.html";
        $tablename = 'steel';
        break;
    default:
        $path = 'http://quotes.money.163.com/data/sort/item=ZJ,key=SYMBOL,page=1,count=200,node=05,orderStyle=ASC.html';
        $tablename = 'house';
}

function dealMessCode($s){
    $s = trim(str_replace(array('dataArr1 = ','diy.loadDataFinish1();',';','\''),array('','','','"'),$s));
    //$s = preg_replace('/(-?[^\D]+\.?[^\D]+)E(-\d+)/','"$1E$2"',$s);
    $s = preg_replace('/(-?[^\D]+\.?[^\D]*)E(-\d+)/', 0, $s);
    $s = iconv("GB2312", "UTF-8", $s);
    return $s;
}

function myCurl ($url)
{
    $headers[] = 'Host:quotes.money.163.com';
    $headers[] = 'Connection: Keep-Alive';
    $user_agent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)";
    $process = curl_init($url);
    curl_setopt($process, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($process, CURLOPT_HEADER, 0);
    curl_setopt($process, CURLOPT_USERAGENT, $user_agent);
    curl_setopt($process, CURLOPT_TIMEOUT, 30);
    curl_setopt($process, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($process, CURLOPT_FOLLOWLOCATION, 1);
    $return = curl_exec($process);
    curl_close($process);
    return $return;
}
//$s = file_get_contents($path);
include_once dirname(__FILE__) . "/Snoopy.class.php";
include_once dirname(__FILE__) . "/config.php";
/*
$snoopy = new Snoopy();
$snoopy->proxy_host = "quotes.money.163.com";
$snoopy->agent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)";
$snoopy->referer = "http://quotes.money.163.com/market/diy.html";
if ($snoopy->fetch($path)) {
    $s = $snoopy->results;
} else {
    echo "error fetching document: " . $snoopy->error . "\n";
    exit('抓取数据失败，请重试');
}
$data = json_decode(dealMessCode($s));
if (count($data) == 0) {
    $s = myCurl($path);
    $data = json_decode(dealMessCode($s));
    if (count($data) == 0) {
        exit('不好! 数据是空的...');
    }
}
*/

$data = include_once dirname(__FILE__) . "/data/{$tablename}_{$date}.php";
$data = json_decode($data);

//*06-03*/$data = array ( 0 => array ( 0 => '1000001', 1 => '深发展A', 2 => '17.22', 3 => '-0.06', 4 => '-0.01', 5 => '50114', 6 => '287562', 7 => '17.31', 8 => '17.23', 9 => '17.71', 10 => '17.22', 11 => '0.98', 12 => '2.8', 13 => '1.13', 14 => '26.73', 15 => '16.92', 16 => '-4.70', 17 => '-5.64', 18 => '-25.96', 19 => '-26.15', 20 => '-3.42', 21 => '-29.30', 22 => '503.83', 23 => '535.07', 24 => '292412.16', 25 => '310543.38', 26 => '40.84', 27 => '15.78', 28 => '25.7', 29 => '10.63', 30 => '2.42', 31 => '0.51', 32 => '7.12', 33 => '7.13', ), 1 => array ( 0 => '1000562', 1 => '宏源证券', 2 => '15.93', 3 => '-2.21', 4 => '-0.36', 5 => '9539', 6 => '58891', 7 => '16.18', 8 => '16.29', 9 => '16.37', 10 => '15.93', 11 => '0.4', 12 => '2.7', 13 => '0.9', 14 => '27.98', 15 => '14.58', 16 => '-1.15', 17 => '-0.37', 18 => '-23.63', 19 => '-27.11', 20 => '-14.59', 21 => '-31.55', 22 => '238.03', 23 => '238.03', 24 => '146120.42', 25 => '146120.42', 26 => '9.43', 27 => '4.2', 28 => '102.12', 29 => '20.22', 30 => '3.45', 31 => '0.29', 32 => '4.72', 33 => '6.25', ), 2 => array ( 0 => '1000563', 1 => '陕国投A', 2 => '10.11', 3 => '-0.69', 4 => '-0.07', 5 => '4385', 6 => '42894', 7 => '10.18', 8 => '10.18', 9 => '10.36', 10 => '10.11', 11 => '1.2', 12 => '2.5', 13 => '0.85', 14 => '14.89', 15 => '9.3', 16 => '-0.59', 17 => '-4.32', 18 => '-27.34', 19 => '-11.79', 20 => '-7.03', 21 => '-21.63', 22 => '36.49', 23 => '36.49', 24 => '35841.3', 25 => '35841.3', 26 => '0.34', 27 => '0.15', 28 => '357.24', 29 => '83.21', 30 => '6.05', 31 => '0.04', 32 => '1.68', 33 => '0.00', ), 3 => array ( 0 => '1000686', 1 => '东北证券', 2 => '22.37', 3 => '-3.16', 4 => '-0.73', 5 => '9180', 6 => '40288', 7 => '22.97', 8 => '23.1', 9 => '23.1', 10 => '22.36', 11 => '2.07', 12 => '3.2', 13 => '0.91', 14 => '50.5', 15 => '21', 16 => '-1.53', 17 => '-5.41', 18 => '-31.30', 19 => '-37.83', 20 => '-3.60', 21 => '-39.50', 22 => '44.88', 23 => '147.68', 24 => '19430.11', 25 => '63931.25', 26 => '4.54', 27 => '2.01', 28 => '248.56', 29 => '15.31', 30 => '4.58', 31 => '0.31', 32 => '5.04', 33 => '0.00', ), 4 => array ( 0 => '1000728', 1 => '国元证券', 2 => '12.78', 3 => '-2.59', 4 => '-0.34', 5 => '14546', 6 => '111495', 7 => '13.08', 8 => '13.12', 9 => '13.21', 10 => '12.78', 11 => '1.42', 12 => '3.3', 13 => '0.99', 14 => '27.68', 15 => '12.41', 16 => '-3.81', 17 => '-3.67', 18 => '-25.54', 19 => '-28.39', 20 => '-20.92', 21 => '-36.69', 22 => '103.01', 23 => '257.69', 24 => '78510.95', 25 => '196410', 26 => '5.28', 27 => '2.63', 28 => '-13.38', 29 => '19.25', 30 => '1.79', 31 => '0.13', 32 => '7.33', 33 => '0.00', ), 5 => array ( 0 => '1000776', 1 => '广发证券', 2 => '33.85', 3 => '-3.62', 4 => '-1.27', 5 => '20089', 6 => '58045', 7 => '34.73', 8 => '35.12', 9 => '35.21', 10 => '33.72', 11 => '6.3', 12 => '4.2', 13 => '0.85', 14 => '60.46', 15 => '30.5', 16 => '1.01', 17 => '-8.54', 18 => '-29.89', 19 => '250.23', 20 => '250.23', 21 => '250.23', 22 => '32.34', 23 => '880.47', 24 => '9207.3', 25 => '250704.58', 26 => '19.78', 27 => '8.7', 28 => '564.17', 29 => '-805.95', 30 => '5.43', 31 => '0.35', 32 => '6.46', 33 => '0.00', ), 6 => array ( 0 => '1000783', 1 => '长江证券', 2 => '11.73', 3 => '-1.76', 4 => '-0.21', 5 => '10800', 6 => '90649', 7 => '12.04', 8 => '11.94', 9 => '12.05', 10 => '11.73', 11 => '0.82', 12 => '2.7', 13 => '0.96', 14 => '27.38', 15 => '11.39', 16 => '-4.48', 17 => '-7.44', 18 => '-32.31', 19 => '-30.66', 20 => '-12.03', 21 => '-38.10', 22 => '132.14', 23 => '259.25', 24 => '110673.24', 25 => '217123.39', 26 => '9.27', 27 => '4.13', 28 => '-8.46', 29 => '15.49', 30 => '2.71', 31 => '0.19', 32 => '4.41', 33 => '0.00', ), 7 => array ( 0 => '1002142', 1 => '宁波银行', 2 => '10.94', 3 => '-1.44', 4 => '-0.16', 5 => '12909', 6 => '116467', 7 => '11.15', 8 => '11.1', 9 => '11.24', 10 => '10.93', 11 => '1.07', 12 => '2.8', 13 => '0.93', 14 => '17.95', 15 => '10.48', 16 => '-4.15', 17 => '-4.31', 18 => '-26.55', 19 => '-16.61', 20 => '11.93', 21 => '-35.49', 22 => '120.44', 23 => '277.5', 24 => '108500', 25 => '250000', 26 => '13.26', 27 => '4.98', 28 => '33.15', 29 => '18.77', 30 => '2.71', 31 => '0.2', 32 => '4.1', 33 => '4.86', ), 8 => array ( 0 => '0600000', 1 => '浦发银行', 2 => '18.2', 3 => '-1.09', 4 => '-0.2', 5 => '76191', 6 => '414700', 7 => '18.49', 8 => '18.4', 9 => '18.6', 10 => '18.16', 11 => '0.52', 12 => '2.4', 13 => '1.1', 14 => '31.16', 15 => '17.66', 16 => '-3.82', 17 => '-0.81', 18 => '-11.28', 19 => '-14.26', 20 => '1.20', 21 => '-15.17', 22 => '1458.36', 23 => '1624.73', 24 => '792588.6', 25 => '883004.56', 26 => '107.24', 27 => '41.06', 28 => '23.64', 29 => '10.5', 30 => '2.25', 31 => '0.47', 32 => '8.18', 33 => '5.69', ), 9 => array ( 0 => '0600015', 1 => '华夏银行', 2 => '10.68', 3 => '0.38', 4 => '0.04', 5 => '23868', 6 => '221898', 7 => '10.68', 8 => '10.64', 9 => '10.99', 10 => '10.51', 11 => '0.59', 12 => '4.5', 13 => '1.08', 14 => '13.38', 15 => '8.74', 16 => '-2.03', 17 => '1.52', 18 => '-1.28', 19 => '-2.35', 20 => '8.80', 21 => '-13.28', 22 => '402.62', 23 => '530.99', 24 => '378400', 25 => '499052.84', 26 => '56.01', 27 => '13.07', 28 => '30.79', 29 => '14.18', 30 => '1.68', 31 => '0.26', 32 => '6.33', 33 => '4.14', ), 10 => array ( 0 => '0600016', 1 => '民生银行', 2 => '6.33', 3 => '-1.40', 4 => '-0.09', 5 => '58885', 6 => '919969', 7 => '6.45', 8 => '6.42', 9 => '6.45', 10 => '6.32', 11 => '0.49', 12 => '2', 13 => '1.07', 14 => '8.87', 15 => '6.06', 16 => '-3.89', 17 => '-3.46', 18 => '-11.45', 19 => '-14.74', 20 => '-4.32', 21 => '-18.84', 22 => '1208.44', 23 => '1429.24', 24 => '1882300.2', 25 => '2226227.8', 26 => '123.79', 27 => '42.69', 28 => '16.66', 29 => '10.09', 30 => '1.54', 31 => '0.19', 32 => '4.16', 33 => '0.00', ), 11 => array ( 0 => '0600030', 1 => '中信证券', 2 => '19.62', 3 => '-1.41', 4 => '-0.28', 5 => '86799', 6 => '437749', 7 => '19.91', 8 => '19.9', 9 => '20.02', 10 => '19.59', 11 => '0.67', 12 => '2.2', 13 => '0.93', 14 => '38.8', 15 => '18.85', 16 => '-3.59', 17 => '-9.71', 18 => '-26.62', 19 => '-27.13', 20 => '-20.30', 21 => '-37.36', 22 => '1307.52', 23 => '1319.46', 24 => '657046.75', 25 => '663046.75', 26 => '40.63', 27 => '14.99', 28 => '24.52', 29 => '14.48', 30 => '2.08', 31 => '0.23', 32 => '9.55', 33 => '0.00', ), 12 => array ( 0 => '0600036', 1 => '招商银行', 2 => '13.15', 3 => '0.08', 4 => '0.01', 5 => '77404', 6 => '584814', 7 => '13.24', 8 => '13.14', 9 => '13.38', 10 => '13.13', 11 => '0.33', 12 => '1.9', 13 => '0.96', 14 => '23.48', 15 => '12.91', 16 => '-3.52', 17 => '-1.65', 18 => '-14.03', 19 => '-18.04', 20 => '7.30', 21 => '-23.22', 22 => '2321.33', 23 => '2835.17', 24 => '1766613.1', 25 => '2157661', 26 => '156.2', 27 => '59.09', 28 => '27.4', 29 => '12.14', 30 => '2.4', 31 => '0.28', 32 => '5.6', 33 => '0.00', ), 13 => array ( 0 => '0600109', 1 => '国金证券', 2 => '14.39', 3 => '-2.04', 4 => '-0.3', 5 => '4278', 6 => '29149', 7 => '14.7', 8 => '14.69', 9 => '14.86', 10 => '14.38', 11 => '0.68', 12 => '3.3', 13 => '0.92', 14 => '41.47', 15 => '14.08', 16 => '-4.73', 17 => '-13.79', 18 => '-28.24', 19 => '-33.32', 20 => '-20.91', 21 => '-39.17', 22 => '62.68', 23 => '146.94', 24 => '42666.31', 25 => '100024.21', 26 => '2.62', 27 => '0.88', 28 => '-43.21', 29 => '23.28', 30 => '5.46', 31 => '0.09', 32 => '2.69', 33 => '0.00', ), 14 => array ( 0 => '0600369', 1 => '西南证券', 2 => '13.2', 3 => '-2.22', 4 => '-0.3', 5 => '4960', 6 => '37066', 7 => '13.48', 8 => '13.5', 9 => '13.59', 10 => '13.15', 11 => '0.98', 12 => '3.3', 13 => '0.69', 14 => '22.66', 15 => '11.9', 16 => '-0.95', 17 => '-19.93', 18 => '-19.69', 19 => '-17.68', 20 => '-6.70', 21 => '-28.91', 22 => '51.22', 23 => '257.02', 24 => '37940.06', 25 => '190385.45', 26 => '3.57', 27 => '1.31', 28 => '-26.4', 29 => '24.96', 30 => '5.25', 31 => '0.07', 32 => '2.57', 33 => '2.67', ), 15 => array ( 0 => '0600816', 1 => '安信信托', 2 => '13.6', 3 => '0.00', 4 => '0', 5 => '0', 6 => '0', 7 => '0', 8 => '13.6', 9 => '0', 10 => '0', 11 => '0', 12 => '0', 13 => '0', 14 => '23.27', 15 => '12.99', 16 => '-5.95', 17 => '-10.41', 18 => '-27.85', 19 => '-23.47', 20 => '-23.08', 21 => '-31.17', 22 => '61.72', 23 => '61.76', 24 => '45384.98', 25 => '45410.98', 26 => '0.51', 27 => '0.27', 28 => '-104.62', 29 => '130.9', 30 => '23.54', 31 => '0.06', 32 => '0.58', 33 => '0.00', ), 16 => array ( 0 => '0600837', 1 => '海通证券', 2 => '10.34', 3 => '-2.82', 4 => '-0.3', 5 => '54887', 6 => '521334', 7 => '10.6', 8 => '10.64', 9 => '10.65', 10 => '10.3', 11 => '1.3', 12 => '3.3', 13 => '0.94', 14 => '20.7', 15 => '10.22', 16 => '-4.57', 17 => '-11.41', 18 => '-37.19', 19 => '-27.12', 20 => '-24.31', 21 => '-44.55', 22 => '425.86', 23 => '875.44', 24 => '400242.5', 25 => '822782.1', 26 => '22.37', 27 => '10.11', 28 => '22.85', 29 => '18.71', 30 => '1.96', 31 => '0.12', 32 => '5.44', 33 => '0.00', ), 17 => array ( 0 => '0600999', 1 => '招商证券', 2 => '20.71', 3 => '-1.57', 4 => '-0.33', 5 => '7035', 6 => '33526', 7 => '21.1', 8 => '21.04', 9 => '21.17', 10 => '20.68', 11 => '0.94', 12 => '2.3', 13 => '0.71', 14 => '35.7', 15 => '20.26', 16 => '-4.75', 17 => '-4.36', 18 => '-27.27', 19 => '-32.63', 20 => '0.00', 21 => '-28.41', 22 => '75.44', 23 => '754.38', 24 => '35854.61', 25 => '358546.16', 26 => '16.02', 27 => '7.81', 28 => '36.98', 29 => '0', 30 => '3.24', 31 => '0.22', 32 => '6.5', 33 => '3.40', ), 18 => array ( 0 => '0601009', 1 => '南京银行', 2 => '12.74', 3 => '-1.32', 4 => '-0.17', 5 => '16511', 6 => '127371', 7 => '13.02', 8 => '12.91', 9 => '13.14', 10 => '12.73', 11 => '1.1', 12 => '3.2', 13 => '0.98', 14 => '20.59', 15 => '12.6', 16 => '-5.49', 17 => '-6.92', 18 => '-21.90', 19 => '-24.50', 20 => '-6.18', 21 => '-33.28', 22 => '149.91', 23 => '237.12', 24 => '116120.63', 25 => '183675.14', 26 => '12.09', 27 => '5.87', 28 => '26', 29 => '15.16', 30 => '1.87', 31 => '0.32', 32 => '6.91', 33 => '0.00', ), 19 => array ( 0 => '0601099', 1 => '太平洋', 2 => '11.99', 3 => '-2.44', 4 => '-0.3', 5 => '2784', 6 => '22854', 7 => '12.29', 8 => '12.29', 9 => '12.34', 10 => '11.97', 11 => '0.88', 12 => '3', 13 => '0.79', 14 => '21.8', 15 => '11.65', 16 => '-4.21', 17 => '-9.70', 18 => '-24.69', 19 => '-23.04', 20 => '-28.04', 21 => '-32.44', 22 => '31.87', 23 => '184.76', 24 => '25929.68', 25 => '150331.33', 26 => '1.62', 27 => '0.71', 28 => '60.43', 29 => '44.51', 30 => '9.95', 31 => '0.05', 32 => '1.24', 33 => '0.00', ), 20 => array ( 0 => '0601166', 1 => '兴业银行', 2 => '24.53', 3 => '-1.33', 4 => '-0.33', 5 => '66727', 6 => '269556', 7 => '24.88', 8 => '24.86', 9 => '25.14', 10 => '24.51', 11 => '0.45', 12 => '2.5', 13 => '0.63', 14 => '43.48', 15 => '24.31', 16 => '-5.77', 17 => '-1.60', 18 => '-23.11', 19 => '-27.94', 20 => '-4.29', 21 => '-33.45', 22 => '1491.6', 23 => '1491.6', 24 => '600000', 25 => '600000', 26 => '96.25', 27 => '40.79', 28 => '25.82', 29 => '9.23', 30 => '2.42', 31 => '0.82', 32 => '12.34', 33 => '0.00', ), 21 => array ( 0 => '0601169', 1 => '北京银行', 2 => '12.57', 3 => '-0.87', 4 => '-0.11', 5 => '27265', 6 => '213705', 7 => '12.73', 8 => '12.68', 9 => '12.93', 10 => '12.55', 11 => '0.54', 12 => '3', 13 => '0.75', 14 => '19.6', 15 => '12.35', 16 => '-5.65', 17 => '-5.44', 18 => '-21.05', 19 => '-27.00', 20 => '2.41', 21 => '-34.44', 22 => '501.56', 23 => '789.65', 24 => '395552.9', 25 => '622756.2', 26 => '35.59', 27 => '20.92', 28 => '29.53', 29 => '13.9', 30 => '1.98', 31 => '0.34', 32 => '6.41', 33 => '5.24', ), 22 => array ( 0 => '0601318', 1 => '中国平安', 2 => '45.63', 3 => '0.29', 4 => '0.13', 5 => '88713', 6 => '193616', 7 => '45.8', 8 => '45.5', 9 => '46.3', 10 => '45.26', 11 => '0.4', 12 => '2.3', 13 => '0.84', 14 => '64.52', 15 => '42.89', 16 => '-1.00', 17 => '-1.79', 18 => '0.02', 19 => '-17.83', 20 => '15.25', 21 => '-17.41', 22 => '2177.82', 23 => '3478.08', 24 => '478640.97', 25 => '764414.2', 26 => '521.48', 27 => '45.51', 28 => '47.04', 29 => '24.14', 30 => '3.88', 31 => '0.62', 32 => '12.21', 33 => '0.00', ), 23 => array ( 0 => '0601328', 1 => '交通银行', 2 => '6.42', 3 => '0.16', 4 => '0.01', 5 => '31790', 6 => '491323', 7 => '6.45', 8 => '6.41', 9 => '6.55', 10 => '6.39', 11 => '0.19', 12 => '2.5', 13 => '0.91', 14 => '11.38', 15 => '6.31', 16 => '-5.18', 17 => '-3.61', 18 => '-19.87', 19 => '-21.51', 20 => '-6.37', 21 => '-30.41', 22 => '1662.11', 23 => '3140.54', 24 => '2592991.5', 25 => '4899438.5', 26 => '239.36', 27 => '104.51', 28 => '22.93', 29 => '10.46', 30 => '1.8', 31 => '0.21', 32 => '3.57', 33 => '0.00', ), 24 => array ( 0 => '0601398', 1 => '工商银行', 2 => '4.22', 3 => '0.24', 4 => '0.01', 5 => '34649', 6 => '819320', 7 => '4.23', 8 => '4.21', 9 => '4.27', 10 => '4.18', 11 => '0.03', 12 => '2.1', 13 => '0.91', 14 => '5.76', 15 => '4.16', 16 => '-2.77', 17 => '-0.37', 18 => '-9.63', 19 => '-15.56', 20 => '4.49', 21 => '-19.60', 22 => '10565.51', 23 => '14062.19', 24 => '25096234', 25 => '33401886', 26 => '873.38', 27 => '415.47', 28 => '28.13', 29 => '10.97', 30 => '1.96', 31 => '0.12', 32 => '2.15', 33 => '0.00', ), 25 => array ( 0 => '0601601', 1 => '中国太保', 2 => '21.44', 3 => '0.00', 4 => '0', 5 => '0', 6 => '0', 7 => '0', 8 => '21.44', 9 => '0', 10 => '0', 11 => '0', 12 => '0', 13 => '0', 14 => '29.73', 15 => '18.12', 16 => '-3.68', 17 => '-9.23', 18 => '-12.38', 19 => '-10.07', 20 => '26.89', 21 => '-16.32', 22 => '552.41', 23 => '1843.84', 24 => '268120.34', 25 => '860000', 26 => '403.97', 27 => '28.13', 28 => '93.22', 29 => '23.42', 30 => '2.33', 31 => '0.33', 32 => '9.19', 33 => '0.00', ), 26 => array ( 0 => '0601628', 1 => '中国人寿', 2 => '24.38', 3 => '0.95', 4 => '0.23', 5 => '24166', 6 => '98628', 7 => '24.31', 8 => '24.15', 9 => '24.8', 10 => '24.1', 11 => '0.05', 12 => '2.9', 13 => '1.13', 14 => '34.68', 15 => '23.4', 16 => '-2.35', 17 => '-2.62', 18 => '-10.62', 19 => '-18.16', 20 => '6.04', 21 => '-23.79', 22 => '5028.88', 23 => '6825.93', 24 => '2082353', 25 => '2826470.5', 26 => '0', 27 => '102.14', 28 => '71.71', 29 => '20.96', 30 => '3.14', 31 => '0', 32 => '7.69', 33 => '0.00', ), 27 => array ( 0 => '0601688', 1 => '华泰证券', 2 => '13.95', 3 => '-3.19', 4 => '-0.46', 5 => '39804', 6 => '279773', 7 => '14.3', 8 => '14.41', 9 => '14.4', 10 => '13.93', 11 => '3.57', 12 => '3.3', 13 => '0.72', 14 => '23.31', 15 => '13.77', 16 => '-4.63', 17 => '-14.12', 18 => '-35.24', 19 => '0.00', 20 => '0.00', 21 => '0.00', 22 => '113.06', 23 => '806.96', 24 => '78456.13', 25 => '560000', 26 => '19.43', 27 => '8.26', 28 => '0', 29 => '0', 30 => '2.67', 31 => '0.15', 32 => '5.41', 33 => '0.00', ), 28 => array ( 0 => '0601788', 1 => '光大证券', 2 => '15.67', 3 => '-3.21', 4 => '-0.52', 5 => '18137', 6 => '113242', 7 => '16.11', 8 => '16.19', 9 => '16.25', 10 => '15.63', 11 => '2.18', 12 => '3.8', 13 => '0.9', 14 => '30.94', 15 => '15.26', 16 => '-2.76', 17 => '-9.20', 18 => '-39.24', 19 => '-26.12', 20 => '0.00', 21 => '-34.98', 22 => '84.19', 23 => '553.37', 24 => '52000', 25 => '341800', 26 => '8.39', 27 => '3.43', 28 => '0', 29 => '33.33', 30 => '2.43', 31 => '0.1', 32 => '6.67', 33 => '0.00', ), 29 => array ( 0 => '0601939', 1 => '建设银行', 2 => '4.89', 3 => '-0.61', 4 => '-0.03', 5 => '20571', 6 => '418167', 7 => '4.94', 8 => '4.92', 9 => '4.95', 10 => '4.89', 11 => '0.46', 12 => '1.2', 13 => '0.76', 14 => '6.75', 15 => '4.8', 16 => '-1.80', 17 => '-3.15', 18 => '-12.46', 19 => '-15.90', 20 => '8.91', 21 => '-20.52', 22 => '442.8', 23 => '11497.5', 24 => '900000', 25 => '23368908', 26 => '752.76', 27 => '351.64', 28 => '23.29', 29 => '10.71', 30 => '1.94', 31 => '0.15', 32 => '2.55', 33 => '0.00', ), 30 => array ( 0 => '0601988', 1 => '中国银行', 2 => '3.84', 3 => '-1.29', 4 => '-0.05', 5 => '47445', 6 => '1234731', 7 => '3.88', 8 => '3.89', 9 => '3.88', 10 => '3.79', 11 => '0.07', 12 => '2.3', 13 => '0.63', 14 => '4.95', 15 => '3.65', 16 => '-2.99', 17 => '-3.47', 18 => '-6.27', 19 => '-3.71', 20 => '12.02', 21 => '-10.16', 22 => '6917.16', 23 => '9874.34', 24 => '17781892', 25 => '25383916', 26 => '675.56', 27 => '261.75', 28 => '22.59', 29 => '12.06', 30 => '1.82', 31 => '0.1', 32 => '2.14', 33 => '0.00', ), 31 => array ( 0 => '0601998', 1 => '中信银行', 2 => '5.14', 3 => '-0.96', 4 => '-0.05', 5 => '8925', 6 => '171856', 7 => '5.22', 8 => '5.19', 9 => '5.25', 10 => '5.13', 11 => '0.07', 12 => '2.3', 13 => '0.88', 14 => '8.49', 15 => '4.8', 16 => '-3.17', 17 => '-2.63', 18 => '-24.12', 19 => '-18.01', 20 => '3.54', 21 => '-36.94', 22 => '1371.08', 23 => '2025.83', 24 => '2641770.5', 25 => '3903334.5', 26 => '121.82', 27 => '43.12', 28 => '42.83', 29 => '14.02', 30 => '1.88', 31 => '0.11', 32 => '2.75', 33 => '4.01', ), );
//*06-02*/$data = array ( 0 => array ( 0 => '1000001', 1 => '深发展A', 2 => '17.23', 3 => '-0.40', 4 => '-0.07', 5 => '43072', 6 => '251256', 7 => '17.25', 8 => '17.3', 9 => '17.41', 10 => '16.92', 11 => '0.86', 12 => '2.8', 13 => '1.05', 14 => '26.73', 15 => '17.02', 16 => '-4.31', 17 => '-5.26', 18 => '-25.66', 19 => '-25.85', 20 => '-3.03', 21 => '-29.01', 22 => '505.87', 23 => '537.24', 24 => '292412.16', 25 => '310543.38', 26 => '40.84', 27 => '15.78', 28 => '25.72', 29 => '10.64', 30 => '2.43', 31 => '0.51', 32 => '7.12', 33 => '7.13', ), 1 => array ( 0 => '1000562', 1 => '宏源证券', 2 => '16.29', 3 => '3.23', 4 => '0.51', 5 => '9729', 6 => '60847', 7 => '15.75', 8 => '15.78', 9 => '16.34', 10 => '15.64', 11 => '0.42', 12 => '4.4', 13 => '0.8', 14 => '27.98', 15 => '14.58', 16 => '-4.25', 17 => '-3.49', 18 => '-26.02', 19 => '-29.40', 20 => '-17.26', 21 => '-33.70', 22 => '230.58', 23 => '230.58', 24 => '146120.42', 25 => '146120.42', 26 => '9.43', 27 => '4.2', 28 => '104.42', 29 => '20.67', 30 => '3.34', 31 => '0.29', 32 => '4.72', 33 => '6.25', ), 2 => array ( 0 => '1000563', 1 => '陕国投A', 2 => '10.18', 3 => '3.98', 4 => '0.39', 5 => '4688', 6 => '46710', 7 => '9.76', 8 => '9.79', 9 => '10.25', 10 => '9.75', 11 => '1.3', 12 => '5.1', 13 => '0.95', 14 => '14.89', 15 => '9.3', 16 => '-4.39', 17 => '-7.99', 18 => '-30.12', 19 => '-15.16', 20 => '-10.59', 21 => '-24.63', 22 => '35.09', 23 => '35.09', 24 => '35841.3', 25 => '35841.3', 26 => '0.34', 27 => '0.15', 28 => '359.72', 29 => '83.79', 30 => '5.82', 31 => '0.04', 32 => '1.68', 33 => '0.00', ), 3 => array ( 0 => '1000686', 1 => '东北证券', 2 => '23.1', 3 => '5.38', 4 => '1.18', 5 => '11090', 6 => '49237', 7 => '21.8', 8 => '21.92', 9 => '23.17', 10 => '21.73', 11 => '2.53', 12 => '6.6', 13 => '1.14', 14 => '50.5', 15 => '21', 16 => '-6.56', 17 => '-10.24', 18 => '-34.81', 19 => '-41.00', 20 => '-8.52', 21 => '-42.59', 22 => '42.59', 23 => '140.14', 24 => '19430.11', 25 => '63931.25', 26 => '4.54', 27 => '2.01', 28 => '256.67', 29 => '15.81', 30 => '4.35', 31 => '0.31', 32 => '5.04', 33 => '0.00', ), 4 => array ( 0 => '1000728', 1 => '国元证券', 2 => '13.12', 3 => '2.74', 4 => '0.35', 5 => '12548', 6 => '97188', 7 => '12.62', 8 => '12.77', 9 => '13.18', 10 => '12.62', 11 => '1.24', 12 => '4.4', 13 => '0.88', 14 => '27.68', 15 => '12.41', 16 => '-6.38', 17 => '-6.24', 18 => '-27.53', 19 => '-30.30', 20 => '-23.03', 21 => '-38.38', 22 => '100.26', 23 => '250.82', 24 => '78510.95', 25 => '196410', 26 => '5.28', 27 => '2.63', 28 => '-13.74', 29 => '19.76', 30 => '1.74', 31 => '0.13', 32 => '7.33', 33 => '0.00', ), 5 => array ( 0 => '1000776', 1 => '广发证券', 2 => '35.12', 3 => '6.36', 4 => '2.1', 5 => '28584', 6 => '83312', 7 => '32.65', 8 => '33.02', 9 => '35.33', 10 => '32.55', 11 => '9.05', 12 => '8.4', 13 => '1.26', 14 => '60.46', 15 => '30.5', 16 => '-5.03', 17 => '-14.01', 18 => '-34.08', 19 => '229.29', 20 => '229.29', 21 => '229.29', 22 => '30.4', 23 => '827.83', 24 => '9207.3', 25 => '250704.58', 26 => '19.78', 27 => '8.7', 28 => '585.33', 29 => '-836.19', 30 => '5.11', 31 => '0.35', 32 => '6.46', 33 => '0.00', ), 6 => array ( 0 => '1000783', 1 => '长江证券', 2 => '11.94', 3 => '2.84', 4 => '0.33', 5 => '10721', 6 => '91434', 7 => '11.53', 8 => '11.61', 9 => '11.95', 10 => '11.52', 11 => '0.83', 12 => '3.7', 13 => '1.02', 14 => '27.38', 15 => '11.39', 16 => '-7.12', 17 => '-10.00', 18 => '-34.18', 19 => '-32.58', 20 => '-14.46', 21 => '-39.81', 22 => '128.49', 23 => '252.08', 24 => '110673.24', 25 => '217123.39', 26 => '9.27', 27 => '4.13', 28 => '-8.61', 29 => '15.76', 30 => '2.63', 31 => '0.19', 32 => '4.41', 33 => '0.00', ), 7 => array ( 0 => '1002142', 1 => '宁波银行', 2 => '11.1', 3 => '0.91', 4 => '0.1', 5 => '9647', 6 => '88047', 7 => '10.9', 8 => '11', 9 => '11.12', 10 => '10.8', 11 => '0.81', 12 => '2.9', 13 => '0.7', 14 => '17.95', 15 => '10.19', 16 => '-5.01', 17 => '-5.17', 18 => '-27.21', 19 => '-17.37', 20 => '10.92', 21 => '-36.08', 22 => '119.35', 23 => '275', 24 => '108500', 25 => '250000', 26 => '13.26', 27 => '4.98', 28 => '33.64', 29 => '19.05', 30 => '2.68', 31 => '0.2', 32 => '4.1', 33 => '4.86', ), 8 => array ( 0 => '0600000', 1 => '浦发银行', 2 => '18.4', 3 => '-0.11', 4 => '-0.02', 5 => '57573', 6 => '314854', 7 => '18.38', 8 => '18.42', 9 => '18.48', 10 => '18.07', 11 => '0.4', 12 => '2.2', 13 => '0.86', 14 => '31.16', 15 => '17.66', 16 => '-3.71', 17 => '-0.70', 18 => '-11.19', 19 => '-14.17', 20 => '1.31', 21 => '-15.08', 22 => '1459.95', 23 => '1626.49', 24 => '792588.6', 25 => '883004.56', 26 => '107.24', 27 => '41.06', 28 => '23.9', 29 => '10.61', 30 => '2.25', 31 => '0.47', 32 => '8.18', 33 => '5.69', ), 9 => array ( 0 => '0600015', 1 => '华夏银行', 2 => '10.64', 3 => '0.00', 4 => '0', 5 => '0', 6 => '0', 7 => '0', 8 => '10.64', 9 => '0', 10 => '0', 11 => '0', 12 => '0', 13 => '0', 14 => '13.38', 15 => '8.74', 16 => '-2.03', 17 => '1.52', 18 => '-1.28', 19 => '-2.35', 20 => '8.80', 21 => '-13.28', 22 => '402.62', 23 => '530.99', 24 => '378400', 25 => '499052.84', 26 => '56.01', 27 => '13.07', 28 => '30.67', 29 => '14.13', 30 => '1.68', 31 => '0.26', 32 => '6.33', 33 => '4.14', ), 10 => array ( 0 => '0600016', 1 => '民生银行', 2 => '6.42', 3 => '-0.31', 4 => '-0.02', 5 => '51166', 6 => '801216', 7 => '6.42', 8 => '6.44', 9 => '6.44', 10 => '6.34', 11 => '0.43', 12 => '1.6', 13 => '0.95', 14 => '8.87', 15 => '6.06', 16 => '-3.59', 17 => '-3.16', 18 => '-11.17', 19 => '-14.48', 20 => '-4.02', 21 => '-18.58', 22 => '1212.2', 23 => '1433.69', 24 => '1882300.2', 25 => '2226227.8', 26 => '123.79', 27 => '42.69', 28 => '16.89', 29 => '10.24', 30 => '1.55', 31 => '0.19', 32 => '4.16', 33 => '0.00', ), 11 => array ( 0 => '0600030', 1 => '中信证券', 2 => '19.9', 3 => '2.10', 4 => '0.41', 5 => '92735', 6 => '473608', 7 => '19.38', 8 => '19.49', 9 => '19.99', 10 => '19.15', 11 => '0.72', 12 => '4.3', 13 => '1.03', 14 => '38.8', 15 => '18.85', 16 => '-5.57', 17 => '-11.57', 18 => '-28.13', 19 => '-28.63', 20 => '-21.95', 21 => '-38.65', 22 => '1280.58', 23 => '1292.28', 24 => '657046.75', 25 => '663046.75', 26 => '40.63', 27 => '14.99', 28 => '24.87', 29 => '14.69', 30 => '2.04', 31 => '0.23', 32 => '9.55', 33 => '0.00', ), 12 => array ( 0 => '0600036', 1 => '招商银行', 2 => '13.14', 3 => '0.08', 4 => '0.01', 5 => '56410', 6 => '429623', 7 => '13.17', 8 => '13.13', 9 => '13.22', 10 => '13.03', 11 => '0.24', 12 => '1.4', 13 => '0.69', 14 => '23.48', 15 => '12.91', 16 => '-3.60', 17 => '-1.72', 18 => '-14.09', 19 => '-18.10', 20 => '7.22', 21 => '-23.28', 22 => '2319.56', 23 => '2833.01', 24 => '1766613.1', 25 => '2157661', 26 => '156.2', 27 => '59.09', 28 => '27.38', 29 => '12.13', 30 => '2.4', 31 => '0.28', 32 => '5.6', 33 => '0.00', ), 13 => array ( 0 => '0600109', 1 => '国金证券', 2 => '14.69', 3 => '2.87', 4 => '0.41', 5 => '4385', 6 => '30277', 7 => '14.28', 8 => '14.28', 9 => '14.78', 10 => '14.15', 11 => '0.71', 12 => '4.4', 13 => '1.01', 14 => '41.47', 15 => '14.08', 16 => '-7.39', 17 => '-16.20', 18 => '-30.24', 19 => '-35.18', 20 => '-23.12', 21 => '-40.87', 22 => '60.93', 23 => '142.83', 24 => '42666.31', 25 => '100024.21', 26 => '2.62', 27 => '0.88', 28 => '-44.11', 29 => '23.76', 30 => '5.31', 31 => '0.09', 32 => '2.69', 33 => '0.00', ), 14 => array ( 0 => '0600369', 1 => '西南证券', 2 => '13.5', 3 => '4.90', 4 => '0.63', 5 => '6022', 6 => '45411', 7 => '12.8', 8 => '12.87', 9 => '13.74', 10 => '12.71', 11 => '1.2', 12 => '8', 13 => '0.78', 14 => '22.66', 15 => '11.9', 16 => '-5.58', 17 => '-23.67', 18 => '-23.44', 19 => '-21.52', 20 => '-11.06', 21 => '-32.23', 22 => '48.83', 23 => '245.03', 24 => '37940.06', 25 => '190385.45', 26 => '3.57', 27 => '1.31', 28 => '-27', 29 => '25.52', 30 => '5', 31 => '0.07', 32 => '2.57', 33 => '2.67', ), 15 => array ( 0 => '0600816', 1 => '安信信托', 2 => '13.6', 3 => '0.00', 4 => '0', 5 => '0', 6 => '0', 7 => '0', 8 => '13.6', 9 => '0', 10 => '0', 11 => '0', 12 => '0', 13 => '0', 14 => '23.27', 15 => '12.99', 16 => '-5.95', 17 => '-10.41', 18 => '-27.85', 19 => '-23.47', 20 => '-23.08', 21 => '-31.17', 22 => '61.72', 23 => '61.76', 24 => '45384.98', 25 => '45410.98', 26 => '0.51', 27 => '0.27', 28 => '-104.62', 29 => '130.9', 30 => '23.54', 31 => '0.06', 32 => '0.58', 33 => '0.00', ), 16 => array ( 0 => '0600837', 1 => '海通证券', 2 => '10.64', 3 => '2.60', 4 => '0.27', 5 => '53687', 6 => '511883', 7 => '10.28', 8 => '10.37', 9 => '10.68', 10 => '10.26', 11 => '1.28', 12 => '4.1', 13 => '0.95', 14 => '20.7', 15 => '10.22', 16 => '-7.00', 17 => '-13.66', 18 => '-38.78', 19 => '-28.97', 20 => '-26.23', 21 => '-45.96', 22 => '415.05', 23 => '853.23', 24 => '400242.5', 25 => '822782.1', 26 => '22.37', 27 => '10.11', 28 => '23.51', 29 => '19.25', 30 => '1.91', 31 => '0.12', 32 => '5.44', 33 => '0.00', ), 17 => array ( 0 => '0600999', 1 => '招商证券', 2 => '21.04', 3 => '2.33', 4 => '0.48', 5 => '7232', 6 => '34857', 7 => '20.5', 8 => '20.56', 9 => '21.08', 10 => '20.48', 11 => '0.97', 12 => '2.9', 13 => '0.71', 14 => '35.7', 15 => '20.26', 16 => '-6.93', 17 => '-6.55', 18 => '-28.93', 19 => '-34.17', 20 => '0.00', 21 => '-30.04', 22 => '73.72', 23 => '737.17', 24 => '35854.61', 25 => '358546.16', 26 => '16.02', 27 => '7.81', 28 => '37.57', 29 => '0', 30 => '3.16', 31 => '0.22', 32 => '6.5', 33 => '3.40', ), 18 => array ( 0 => '0601009', 1 => '南京银行', 2 => '12.91', 3 => '0.94', 4 => '0.12', 5 => '12118', 6 => '94829', 7 => '12.75', 8 => '12.79', 9 => '12.93', 10 => '12.6', 11 => '0.82', 12 => '2.6', 13 => '0.74', 14 => '20.59', 15 => '12.6', 16 => '-6.37', 17 => '-7.79', 18 => '-22.63', 19 => '-25.20', 20 => '-7.05', 21 => '-33.90', 22 => '148.52', 23 => '234.92', 24 => '116120.63', 25 => '183675.14', 26 => '12.09', 27 => '5.87', 28 => '26.35', 29 => '15.36', 30 => '1.85', 31 => '0.32', 32 => '6.91', 33 => '0.00', ), 19 => array ( 0 => '0601099', 1 => '太平洋', 2 => '12.29', 3 => '2.59', 4 => '0.31', 5 => '3162', 6 => '26116', 7 => '11.91', 8 => '11.98', 9 => '12.38', 10 => '11.87', 11 => '1.01', 12 => '4.3', 13 => '0.89', 14 => '21.8', 15 => '11.65', 16 => '-6.63', 17 => '-11.98', 18 => '-26.59', 19 => '-24.99', 20 => '-29.86', 21 => '-34.14', 22 => '31.06', 23 => '180.1', 24 => '25929.68', 25 => '150331.33', 26 => '1.62', 27 => '0.71', 28 => '61.95', 29 => '45.62', 30 => '9.7', 31 => '0.05', 32 => '1.24', 33 => '0.00', ), 20 => array ( 0 => '0601166', 1 => '兴业银行', 2 => '24.86', 3 => '-5.76', 4 => '-1.52', 5 => '98390', 6 => '398939', 7 => '24.4', 8 => '26.38', 9 => '25.02', 10 => '24.31', 11 => '0.66', 12 => '2.7', 13 => '0.91', 14 => '43.48', 15 => '26.15', 16 => '0.00', 17 => '4.43', 18 => '-18.40', 19 => '-23.53', 20 => '1.57', 21 => '-29.37', 22 => '1403', 23 => '1403', 24 => '600000', 25 => '600000', 26 => '96.25', 27 => '40.79', 28 => '26.17', 29 => '9.36', 30 => '2.27', 31 => '0.82', 32 => '12.34', 33 => '0.00', ), 21 => array ( 0 => '0601169', 1 => '北京银行', 2 => '12.68', 3 => '-0.16', 4 => '-0.02', 5 => '23377', 6 => '185918', 7 => '12.67', 8 => '12.7', 9 => '12.75', 10 => '12.35', 11 => '0.47', 12 => '3.1', 13 => '0.54', 14 => '19.6', 15 => '12.45', 16 => '-5.51', 17 => '-5.29', 18 => '-20.92', 19 => '-26.89', 20 => '2.57', 21 => '-34.33', 22 => '502.35', 23 => '790.9', 24 => '395552.9', 25 => '622756.2', 26 => '35.59', 27 => '20.92', 28 => '29.78', 29 => '14.02', 30 => '1.98', 31 => '0.34', 32 => '6.41', 33 => '5.24', ), 22 => array ( 0 => '0601318', 1 => '中国平安', 2 => '45.5', 3 => '-0.91', 4 => '-0.42', 5 => '93564', 6 => '206833', 7 => '45.8', 8 => '45.92', 9 => '45.8', 10 => '44.8', 11 => '0.43', 12 => '2.2', 13 => '0.92', 14 => '64.52', 15 => '42.89', 16 => '-0.09', 17 => '-0.88', 18 => '0.95', 19 => '-17.07', 20 => '16.32', 21 => '-16.65', 22 => '2197.92', 23 => '3510.19', 24 => '478640.97', 25 => '764414.2', 26 => '521.48', 27 => '45.51', 28 => '46.91', 29 => '24.08', 30 => '3.91', 31 => '0.62', 32 => '12.21', 33 => '0.00', ), 23 => array ( 0 => '0601328', 1 => '交通银行', 2 => '6.41', 3 => '-1.08', 4 => '-0.07', 5 => '33136', 6 => '517386', 7 => '6.46', 8 => '6.48', 9 => '6.53', 10 => '6.31', 11 => '0.2', 12 => '3.4', 13 => '0.96', 14 => '11.38', 15 => '6.46', 16 => '-4.14', 17 => '-2.56', 18 => '-19.00', 19 => '-20.66', 20 => '-5.35', 21 => '-29.65', 22 => '1680.26', 23 => '3174.84', 24 => '2592991.5', 25 => '4899438.5', 26 => '239.36', 27 => '104.51', 28 => '22.89', 29 => '10.45', 30 => '1.82', 31 => '0.21', 32 => '3.57', 33 => '0.00', ), 24 => array ( 0 => '0601398', 1 => '工商银行', 2 => '4.21', 3 => '-0.47', 4 => '-0.02', 5 => '34448', 6 => '822431', 7 => '4.21', 8 => '4.23', 9 => '4.23', 10 => '4.16', 11 => '0.03', 12 => '1.7', 13 => '0.83', 14 => '5.76', 15 => '4.21', 16 => '-2.31', 17 => '0.10', 18 => '-9.20', 19 => '-15.16', 20 => '4.99', 21 => '-19.22', 22 => '10615.71', 23 => '14129', 24 => '25096234', 25 => '33401886', 26 => '873.38', 27 => '415.47', 28 => '28.07', 29 => '10.94', 30 => '1.96', 31 => '0.12', 32 => '2.15', 33 => '0.00', ), 25 => array ( 0 => '0601601', 1 => '中国太保', 2 => '21.44', 3 => '0.19', 4 => '0.04', 5 => '52981', 6 => '250639', 7 => '21.31', 8 => '21.4', 9 => '21.47', 10 => '20.84', 11 => '0.93', 12 => '2.9', 13 => '0.86', 14 => '29.73', 15 => '17.9', 16 => '-3.86', 17 => '-9.40', 18 => '-12.55', 19 => '-10.23', 20 => '26.66', 21 => '-16.47', 22 => '551.38', 23 => '1840.4', 24 => '268120.34', 25 => '860000', 26 => '403.97', 27 => '28.13', 28 => '93.22', 29 => '23.42', 30 => '2.33', 31 => '0.33', 32 => '9.19', 33 => '0.00', ), 26 => array ( 0 => '0601628', 1 => '中国人寿', 2 => '24.15', 3 => '-0.74', 4 => '-0.18', 5 => '18737', 6 => '77749', 7 => '24.21', 8 => '24.33', 9 => '24.39', 10 => '23.91', 11 => '0.04', 12 => '2', 13 => '0.87', 14 => '34.68', 15 => '23.4', 16 => '-1.62', 17 => '-1.90', 18 => '-9.96', 19 => '-17.55', 20 => '6.83', 21 => '-23.22', 22 => '5066.36', 23 => '6876.8', 24 => '2082353', 25 => '2826470.5', 26 => '0', 27 => '102.14', 28 => '71.03', 29 => '20.77', 30 => '3.16', 31 => '0', 32 => '7.69', 33 => '0.00', ), 27 => array ( 0 => '0601688', 1 => '华泰证券', 2 => '14.41', 3 => '2.93', 4 => '0.41', 5 => '51969', 6 => '368380', 7 => '13.89', 8 => '14', 9 => '14.46', 10 => '13.77', 11 => '4.7', 12 => '4.9', 13 => '0.79', 14 => '23.31', 15 => '13.78', 16 => '-7.35', 17 => '-16.57', 18 => '-37.08', 19 => '0.00', 20 => '0.00', 21 => '0.00', 22 => '109.84', 23 => '784', 24 => '78456.13', 25 => '560000', 26 => '19.43', 27 => '8.26', 28 => '0', 29 => '0', 30 => '2.59', 31 => '0.15', 32 => '5.41', 33 => '0.00', ), 28 => array ( 0 => '0601788', 1 => '光大证券', 2 => '16.19', 3 => '4.45', 4 => '0.69', 5 => '21541', 6 => '136150', 7 => '15.41', 8 => '15.5', 9 => '16.2', 10 => '15.41', 11 => '2.62', 12 => '5.1', 13 => '1.14', 14 => '30.94', 15 => '15.26', 16 => '-6.91', 17 => '-13.07', 18 => '-41.83', 19 => '-29.27', 20 => '0.00', 21 => '-37.75', 22 => '80.6', 23 => '529.79', 24 => '52000', 25 => '341800', 26 => '8.39', 27 => '3.43', 28 => '0', 29 => '34.43', 30 => '2.32', 31 => '0.1', 32 => '6.67', 33 => '0.00', ), 29 => array ( 0 => '0601939', 1 => '建设银行', 2 => '4.92', 3 => '0.00', 4 => '0', 5 => '29589', 6 => '603971', 7 => '4.91', 8 => '4.92', 9 => '4.94', 10 => '4.87', 11 => '0.67', 12 => '1.4', 13 => '1.19', 14 => '6.75', 15 => '4.67', 16 => '-1.80', 17 => '-3.15', 18 => '-12.46', 19 => '-15.90', 20 => '8.91', 21 => '-20.52', 22 => '442.8', 23 => '11497.5', 24 => '900000', 25 => '23368908', 26 => '752.76', 27 => '351.64', 28 => '23.43', 29 => '10.77', 30 => '1.94', 31 => '0.15', 32 => '2.55', 33 => '0.00', ), 30 => array ( 0 => '0601988', 1 => '中国银行', 2 => '3.89', 3 => '-5.12', 4 => '-0.21', 5 => '137569', 6 => '3580700', 7 => '3.84', 8 => '4.1', 9 => '3.9', 10 => '3.79', 11 => '0.2', 12 => '2.7', 13 => '2.65', 14 => '4.95', 15 => '3.62', 16 => '2.24', 17 => '1.74', 18 => '-1.20', 19 => '1.49', 20 => '18.07', 21 => '-5.31', 22 => '7290.58', 23 => '10407.41', 24 => '17781892', 25 => '25383916', 26 => '675.56', 27 => '261.75', 28 => '22.88', 29 => '12.22', 30 => '1.92', 31 => '0.1', 32 => '2.14', 33 => '0.00', ), 31 => array ( 0 => '0601998', 1 => '中信银行', 2 => '5.19', 3 => '0.00', 4 => '0', 5 => '7168', 6 => '139463', 7 => '5.15', 8 => '5.19', 9 => '5.2', 10 => '5.1', 11 => '0.05', 12 => '1.9', 13 => '0.68', 14 => '8.49', 15 => '4.8', 16 => '-3.17', 17 => '-2.63', 18 => '-24.12', 19 => '-18.01', 20 => '3.54', 21 => '-36.94', 22 => '1371.08', 23 => '2025.83', 24 => '2641770.5', 25 => '3903334.5', 26 => '121.82', 27 => '43.12', 28 => '43.25', 29 => '14.15', 30 => '1.88', 31 => '0.11', 32 => '2.75', 33 => '4.01', ), );
//*06-01*/$data = array ( 0 => array ( 0 => '1000001', 1 => '深发展A', 2 => '17.3', 3 => '-1.20', 4 => '-0.21', 5 => '37906', 6 => '218091', 7 => '17.43', 8 => '17.51', 9 => '17.69', 10 => '17.19', 11 => '0.75', 12 => '2.9', 13 => '0.89', 14 => '26.73', 15 => '17.02', 16 => '-3.15', 17 => '-4.11', 18 => '-24.75', 19 => '-24.95', 20 => '-1.85', 21 => '-28.15', 22 => '512.01', 23 => '543.76', 24 => '292412.16', 25 => '310543.38', 26 => '40.84', 27 => '15.78', 28 => '25.82', 29 => '10.68', 30 => '2.46', 31 => '0.51', 32 => '7.12', ), 1 => array ( 0 => '1000562', 1 => '宏源证券', 2 => '15.78', 3 => '0.19', 4 => '0.03', 5 => '9306', 6 => '59180', 7 => '15.68', 8 => '15.75', 9 => '16', 10 => '15.5', 11 => '0.41', 12 => '3.2', 13 => '0.72', 14 => '27.98', 15 => '14.58', 16 => '-4.43', 17 => '-3.67', 18 => '-26.16', 19 => '-29.53', 20 => '-17.42', 21 => '-33.82', 22 => '230.14', 23 => '230.14', 24 => '146120.42', 25 => '146120.42', 26 => '9.43', 27 => '4.2', 28 => '101.15', 29 => '20.03', 30 => '3.34', 31 => '0.29', 32 => '4.72', ), 2 => array ( 0 => '1000563', 1 => '陕国投A', 2 => '9.79', 3 => '-3.07', 4 => '-0.31', 5 => '4053', 6 => '41221', 7 => '9.9', 8 => '10.1', 9 => '10.11', 10 => '9.62', 11 => '1.15', 12 => '4.9', 13 => '0.84', 14 => '14.89', 15 => '9.3', 16 => '-1.37', 17 => '-5.08', 18 => '-27.91', 19 => '-12.48', 20 => '-7.76', 21 => '-22.25', 22 => '36.2', 23 => '36.2', 24 => '35841.3', 25 => '35841.3', 26 => '0.34', 27 => '0.15', 28 => '345.94', 29 => '80.58', 30 => '6', 31 => '0.04', 32 => '1.68', ), 3 => array ( 0 => '1000686', 1 => '东北证券', 2 => '21.92', 3 => '-1.62', 4 => '-0.36', 5 => '7404', 6 => '33856', 7 => '22', 8 => '22.28', 9 => '22.32', 10 => '21.52', 11 => '1.74', 12 => '3.6', 13 => '0.66', 14 => '50.5', 15 => '21', 16 => '-5.03', 17 => '-8.76', 18 => '-33.74', 19 => '-40.04', 20 => '-7.02', 21 => '-41.65', 22 => '43.29', 23 => '142.44', 24 => '19430.11', 25 => '63931.25', 26 => '4.54', 27 => '2.01', 28 => '243.56', 29 => '15', 30 => '4.42', 31 => '0.31', 32 => '5.04', ), 4 => array ( 0 => '1000728', 1 => '国元证券', 2 => '12.77', 3 => '-1.39', 4 => '-0.18', 5 => '12587', 6 => '98484', 7 => '12.9', 8 => '12.95', 9 => '13.05', 10 => '12.57', 11 => '1.25', 12 => '3.7', 13 => '0.81', 14 => '27.68', 15 => '12.41', 16 => '-5.06', 17 => '-4.92', 18 => '-26.51', 19 => '-29.32', 20 => '-21.94', 21 => '-37.51', 22 => '101.67', 23 => '254.35', 24 => '78510.95', 25 => '196410', 26 => '5.28', 27 => '2.63', 28 => '-13.37', 29 => '19.24', 30 => '1.77', 31 => '0.13', 32 => '7.33', ), 5 => array ( 0 => '1000776', 1 => '广发证券', 2 => '33.02', 3 => '0.24', 4 => '0.08', 5 => '13441', 6 => '40727', 7 => '32.18', 8 => '32.94', 9 => '33.7', 10 => '32.18', 11 => '4.42', 12 => '4.6', 13 => '0.49', 14 => '60.46', 15 => '30.5', 16 => '-5.26', 17 => '-14.22', 18 => '-34.24', 19 => '228.49', 20 => '228.49', 21 => '228.49', 22 => '30.33', 23 => '825.82', 24 => '9207.3', 25 => '250704.58', 26 => '19.78', 27 => '8.7', 28 => '550.33', 29 => '-786.19', 30 => '5.1', 31 => '0.35', 32 => '6.46', ), 6 => array ( 0 => '1000783', 1 => '长江证券', 2 => '11.61', 3 => '-2.35', 4 => '-0.28', 5 => '11069', 6 => '94666', 7 => '11.84', 8 => '11.89', 9 => '11.98', 10 => '11.5', 11 => '0.86', 12 => '4', 13 => '0.98', 14 => '27.38', 15 => '11.39', 16 => '-4.88', 17 => '-7.83', 18 => '-32.60', 19 => '-30.95', 20 => '-12.39', 21 => '-38.36', 22 => '131.59', 23 => '258.16', 24 => '110673.24', 25 => '217123.39', 26 => '9.27', 27 => '4.13', 28 => '-8.37', 29 => '15.33', 30 => '2.7', 31 => '0.19', 32 => '4.41', ), 7 => array ( 0 => '1002142', 1 => '宁波银行', 2 => '11', 3 => '-0.99', 4 => '-0.11', 5 => '11512', 6 => '104337', 7 => '11.06', 8 => '11.11', 9 => '11.21', 10 => '10.91', 11 => '0.96', 12 => '2.7', 13 => '0.76', 14 => '17.95', 15 => '10.18', 16 => '-4.06', 17 => '-4.22', 18 => '-26.48', 19 => '-16.54', 20 => '12.03', 21 => '-35.44', 22 => '120.54', 23 => '277.75', 24 => '108500', 25 => '250000', 26 => '13.26', 27 => '4.98', 28 => '33.33', 29 => '18.88', 30 => '2.71', 31 => '0.2', 32 => '4.1', ), 8 => array ( 0 => '0600000', 1 => '浦发银行', 2 => '18.42', 3 => '-0.65', 4 => '-0.12', 5 => '77151', 6 => '418388', 7 => '18.47', 8 => '18.54', 9 => '18.73', 10 => '18.3', 11 => '0.53', 12 => '2.3', 13 => '1.08', 14 => '31.16', 15 => '17.66', 16 => '-3.08', 17 => '-0.05', 18 => '-10.61', 19 => '-13.61', 20 => '1.97', 21 => '-14.52', 22 => '1469.46', 23 => '1637.09', 24 => '792588.6', 25 => '883004.56', 26 => '107.24', 27 => '41.06', 28 => '23.92', 29 => '10.63', 30 => '2.27', 31 => '0.47', 32 => '8.18', ), 9 => array ( 0 => '0600015', 1 => '华夏银行', 2 => '10.64', 3 => '0.95', 4 => '0.1', 5 => '29233', 6 => '275419', 7 => '10.5', 8 => '10.54', 9 => '10.84', 10 => '10.45', 11 => '0.73', 12 => '3.7', 13 => '1.23', 14 => '13.38', 15 => '8.74', 16 => '-2.95', 17 => '0.56', 18 => '-2.20', 19 => '-3.27', 20 => '7.78', 21 => '-14.09', 22 => '398.83', 23 => '526', 24 => '378400', 25 => '499052.84', 26 => '56.01', 27 => '13.07', 28 => '30.67', 29 => '14.13', 30 => '1.67', 31 => '0.26', 32 => '6.33', ), 10 => array ( 0 => '0600016', 1 => '民生银行', 2 => '6.44', 3 => '-1.53', 4 => '-0.1', 5 => '67846', 6 => '1048960', 7 => '6.53', 8 => '6.54', 9 => '6.59', 10 => '6.38', 11 => '0.56', 12 => '3.2', 13 => '1.26', 14 => '8.87', 15 => '6.06', 16 => '-2.10', 17 => '-1.65', 18 => '-9.79', 19 => '-13.15', 20 => '-2.53', 21 => '-17.32', 22 => '1231.02', 23 => '1455.95', 24 => '1882300.2', 25 => '2226227.8', 26 => '123.79', 27 => '42.69', 28 => '16.95', 29 => '10.27', 30 => '1.57', 31 => '0.19', 32 => '4.16', ), 11 => array ( 0 => '0600030', 1 => '中信证券', 2 => '19.49', 3 => '-1.57', 4 => '-0.31', 5 => '84360', 6 => '431820', 7 => '19.65', 8 => '19.8', 9 => '19.82', 10 => '19.28', 11 => '0.66', 12 => '2.7', 13 => '0.82', 14 => '38.8', 15 => '18.85', 16 => '-4.07', 17 => '-10.16', 18 => '-26.99', 19 => '-27.50', 20 => '-20.71', 21 => '-37.68', 22 => '1300.95', 23 => '1312.83', 24 => '657046.75', 25 => '663046.75', 26 => '40.63', 27 => '14.99', 28 => '24.36', 29 => '14.39', 30 => '2.07', 31 => '0.23', 32 => '9.55', ), 12 => array ( 0 => '0600036', 1 => '招商银行', 2 => '13.13', 3 => '-0.76', 4 => '-0.1', 5 => '84756', 6 => '643830', 7 => '13.2', 8 => '13.23', 9 => '13.38', 10 => '13.07', 11 => '0.36', 12 => '2.3', 13 => '1.01', 14 => '23.48', 15 => '12.91', 16 => '-2.86', 17 => '-0.97', 18 => '-13.44', 19 => '-17.48', 20 => '8.04', 21 => '-22.69', 22 => '2337.23', 23 => '2854.59', 24 => '1766613.1', 25 => '2157661', 26 => '156.2', 27 => '59.09', 28 => '27.35', 29 => '12.12', 30 => '2.41', 31 => '0.28', 32 => '5.6', ), 13 => array ( 0 => '0600109', 1 => '国金证券', 2 => '14.28', 3 => '-2.66', 4 => '-0.39', 5 => '4177', 6 => '29082', 7 => '14.63', 8 => '14.67', 9 => '14.66', 10 => '14.13', 11 => '0.68', 12 => '3.6', 13 => '0.88', 14 => '41.47', 15 => '14.08', 16 => '-4.86', 17 => '-13.91', 18 => '-28.33', 19 => '-33.41', 20 => '-21.02', 21 => '-39.25', 22 => '62.59', 23 => '146.74', 24 => '42666.31', 25 => '100024.21', 26 => '2.62', 27 => '0.88', 28 => '-42.88', 29 => '23.1', 30 => '5.45', 31 => '0.09', 32 => '2.69', ), 14 => array ( 0 => '0600369', 1 => '西南证券', 2 => '12.87', 3 => '-0.16', 4 => '-0.02', 5 => '6853', 6 => '53272', 7 => '12.79', 8 => '12.89', 9 => '13.1', 10 => '12.65', 11 => '1.4', 12 => '3.5', 13 => '0.92', 14 => '22.66', 15 => '11.9', 16 => '-5.43', 17 => '-23.55', 18 => '-23.32', 19 => '-21.40', 20 => '-10.92', 21 => '-32.12', 22 => '48.9', 23 => '245.41', 24 => '37940.06', 25 => '190385.45', 26 => '3.57', 27 => '1.31', 28 => '-25.74', 29 => '24.33', 30 => '5.01', 31 => '0.07', 32 => '2.57', ), 15 => array ( 0 => '0600816', 1 => '安信信托', 2 => '13.6', 3 => '-4.43', 4 => '-0.63', 5 => '6068', 6 => '44060', 7 => '13.97', 8 => '14.23', 9 => '14.2', 10 => '13.45', 11 => '0.97', 12 => '5.3', 13 => '1', 14 => '23.27', 15 => '12.99', 16 => '-1.59', 17 => '-6.26', 18 => '-24.51', 19 => '-19.92', 20 => '-19.51', 21 => '-27.99', 22 => '64.58', 23 => '64.62', 24 => '45384.98', 25 => '45410.98', 26 => '0.51', 27 => '0.27', 28 => '-104.62', 29 => '130.9', 30 => '24.63', 31 => '0.06', 32 => '0.58', ), 16 => array ( 0 => '0600837', 1 => '海通证券', 2 => '10.37', 3 => '-2.54', 4 => '-0.27', 5 => '48397', 6 => '464090', 7 => '10.48', 8 => '10.64', 9 => '10.63', 10 => '10.25', 11 => '1.16', 12 => '3.6', 13 => '0.76', 14 => '20.7', 15 => '10.22', 16 => '-4.57', 17 => '-11.41', 18 => '-37.19', 19 => '-27.12', 20 => '-24.31', 21 => '-44.55', 22 => '425.86', 23 => '875.44', 24 => '400242.5', 25 => '822782.1', 26 => '22.37', 27 => '10.11', 28 => '22.91', 29 => '18.77', 30 => '1.96', 31 => '0.12', 32 => '5.44', ), 17 => array ( 0 => '0600999', 1 => '招商证券', 2 => '20.56', 3 => '-2.61', 4 => '-0.55', 5 => '8220', 6 => '39689', 7 => '21', 8 => '21.11', 9 => '21.09', 10 => '20.46', 11 => '1.11', 12 => '3', 13 => '0.75', 14 => '35.7', 15 => '20.26', 16 => '-4.44', 17 => '-4.05', 18 => '-27.03', 19 => '-32.40', 20 => '0.00', 21 => '-28.17', 22 => '75.69', 23 => '756.89', 24 => '35854.61', 25 => '358546.16', 26 => '16.02', 27 => '7.81', 28 => '36.71', 29 => '0', 30 => '3.25', 31 => '0.22', 32 => '6.5', ), 18 => array ( 0 => '0601009', 1 => '南京银行', 2 => '12.79', 3 => '-3.33', 4 => '-0.44', 5 => '27475', 6 => '212712', 7 => '13.15', 8 => '13.23', 9 => '13.3', 10 => '12.6', 11 => '1.83', 12 => '5.3', 13 => '1.95', 14 => '20.59', 15 => '13.02', 16 => '-3.15', 17 => '-4.61', 18 => '-19.96', 19 => '-22.63', 20 => '-3.85', 21 => '-31.63', 22 => '153.63', 23 => '243', 24 => '116120.63', 25 => '183675.14', 26 => '12.09', 27 => '5.87', 28 => '26.1', 29 => '15.22', 30 => '1.91', 31 => '0.32', 32 => '6.91', ), 19 => array ( 0 => '0601099', 1 => '太平洋', 2 => '11.98', 3 => '-1.80', 4 => '-0.22', 5 => '3501', 6 => '29195', 7 => '12.17', 8 => '12.2', 9 => '12.28', 10 => '11.71', 11 => '1.13', 12 => '4.7', 13 => '0.96', 14 => '21.8', 15 => '11.65', 16 => '-4.91', 17 => '-10.36', 18 => '-25.25', 19 => '-23.61', 20 => '-28.57', 21 => '-32.93', 22 => '31.63', 23 => '183.4', 24 => '25929.68', 25 => '150331.33', 26 => '1.62', 27 => '0.71', 28 => '60.38', 29 => '44.47', 30 => '9.88', 31 => '0.05', 32 => '1.24', ), 20 => array ( 0 => '0601169', 1 => '北京银行', 2 => '12.7', 3 => '-2.31', 4 => '-0.3', 5 => '51439', 6 => '402841', 7 => '12.95', 8 => '13', 9 => '13.1', 10 => '12.45', 11 => '1.02', 12 => '5', 13 => '1.12', 14 => '19.6', 15 => '12.71', 16 => '-3.27', 17 => '-3.06', 18 => '-19.05', 19 => '-25.16', 20 => '4.99', 21 => '-32.78', 22 => '514.22', 23 => '809.58', 24 => '395552.9', 25 => '622756.2', 26 => '35.59', 27 => '20.92', 28 => '29.83', 29 => '14.04', 30 => '2.03', 31 => '0.34', 32 => '6.41', ), 21 => array ( 0 => '0601318', 1 => '中国平安', 2 => '45.92', 3 => '1.23', 4 => '0.56', 5 => '139194', 6 => '304059', 7 => '45.2', 8 => '45.36', 9 => '46.4', 10 => '44.8', 11 => '0.64', 12 => '3.5', 13 => '1.41', 14 => '64.52', 15 => '42.89', 16 => '-1.31', 17 => '-2.09', 18 => '-0.29', 19 => '-18.08', 20 => '14.90', 21 => '-17.66', 22 => '2171.12', 23 => '3467.38', 24 => '478640.97', 25 => '764414.2', 26 => '521.48', 27 => '45.51', 28 => '47.34', 29 => '24.3', 30 => '3.87', 31 => '0.62', 32 => '12.21', ), 22 => array ( 0 => '0601328', 1 => '交通银行', 2 => '6.48', 3 => '-1.37', 4 => '-0.09', 5 => '39758', 6 => '607360', 7 => '6.56', 8 => '6.57', 9 => '6.66', 10 => '6.47', 11 => '0.23', 12 => '2.9', 13 => '1.1', 14 => '11.38', 15 => '6.46', 16 => '-2.81', 17 => '-1.20', 18 => '-17.87', 19 => '-19.55', 20 => '-4.04', 21 => '-28.67', 22 => '1703.6', 23 => '3218.93', 24 => '2592991.5', 25 => '4899438.5', 26 => '239.36', 27 => '104.51', 28 => '23.14', 29 => '10.56', 30 => '1.84', 31 => '0.21', 32 => '3.57', ), 23 => array ( 0 => '0601398', 1 => '工商银行', 2 => '4.23', 3 => '-0.70', 4 => '-0.03', 5 => '41987', 6 => '990815', 7 => '4.25', 8 => '4.26', 9 => '4.27', 10 => '4.21', 11 => '0.04', 12 => '1.4', 13 => '0.97', 14 => '5.76', 15 => '4.25', 16 => '-1.62', 17 => '0.81', 18 => '-8.56', 19 => '-14.56', 20 => '5.73', 21 => '-18.64', 22 => '10691', 23 => '14229.2', 24 => '25096234', 25 => '33401886', 26 => '873.38', 27 => '415.47', 28 => '28.2', 29 => '11', 30 => '1.98', 31 => '0.12', 32 => '2.15', ), 24 => array ( 0 => '0601601', 1 => '中国太保', 2 => '21.4', 3 => '-1.29', 4 => '-0.28', 5 => '52395', 6 => '243842', 7 => '21.43', 8 => '21.68', 9 => '21.87', 10 => '21.26', 11 => '0.95', 12 => '2.8', 13 => '0.67', 14 => '29.73', 15 => '17.9', 16 => '-2.61', 17 => '-8.21', 18 => '-11.40', 19 => '-9.06', 20 => '28.31', 21 => '-15.38', 22 => '558.59', 23 => '1864.48', 24 => '257654.34', 25 => '860000', 26 => '403.97', 27 => '28.13', 28 => '93.04', 29 => '23.37', 30 => '2.36', 31 => '0.33', 32 => '9.19', ), 25 => array ( 0 => '0601628', 1 => '中国人寿', 2 => '24.33', 3 => '0.91', 4 => '0.22', 5 => '19740', 6 => '81520', 7 => '24.01', 8 => '24.11', 9 => '24.45', 10 => '23.95', 11 => '0.04', 12 => '2.1', 13 => '0.81', 14 => '34.68', 15 => '23.4', 16 => '-2.51', 17 => '-2.78', 18 => '-10.77', 19 => '-18.30', 20 => '5.87', 21 => '-23.92', 22 => '5020.55', 23 => '6814.62', 24 => '2082353', 25 => '2826470.5', 26 => '0', 27 => '102.14', 28 => '71.56', 29 => '20.92', 30 => '3.13', 31 => '0', 32 => '7.69', ), 26 => array ( 0 => '0601688', 1 => '华泰证券', 2 => '14', 3 => '-2.64', 4 => '-0.38', 5 => '47041', 6 => '335262', 7 => '14.22', 8 => '14.38', 9 => '14.35', 10 => '13.78', 11 => '4.27', 12 => '4', 13 => '0.72', 14 => '23.31', 15 => '14.21', 16 => '-4.83', 17 => '-14.30', 18 => '-35.37', 19 => '0.00', 20 => '0.00', 21 => '0.00', 22 => '112.82', 23 => '805.28', 24 => '78456.13', 25 => '560000', 26 => '19.43', 27 => '8.26', 28 => '0', 29 => '0', 30 => '2.66', 31 => '0.15', 32 => '5.41', ), 27 => array ( 0 => '0601788', 1 => '光大证券', 2 => '15.5', 3 => '-2.02', 4 => '-0.32', 5 => '15823', 6 => '101802', 7 => '15.58', 8 => '15.82', 9 => '15.81', 10 => '15.35', 11 => '1.96', 12 => '2.9', 13 => '0.75', 14 => '30.94', 15 => '15.26', 16 => '-4.98', 17 => '-11.27', 18 => '-40.63', 19 => '-27.81', 20 => '0.00', 21 => '-36.46', 22 => '82.26', 23 => '540.73', 24 => '52000', 25 => '341800', 26 => '8.39', 27 => '3.43', 28 => '0', 29 => '32.96', 30 => '2.37', 31 => '0.1', 32 => '6.67', ), 28 => array ( 0 => '0601939', 1 => '建设银行', 2 => '4.92', 3 => '-0.81', 4 => '-0.04', 5 => '34721', 6 => '702103', 7 => '4.94', 8 => '4.96', 9 => '5.01', 10 => '4.9', 11 => '0.78', 12 => '2.2', 13 => '1.33', 14 => '6.75', 15 => '4.63', 16 => '-1.00', 17 => '-2.36', 18 => '-11.74', 19 => '-15.21', 20 => '9.79', 21 => '-19.87', 22 => '446.4', 23 => '11590.98', 24 => '900000', 25 => '23368908', 26 => '752.76', 27 => '351.64', 28 => '23.43', 29 => '10.77', 30 => '1.96', 31 => '0.15', 32 => '2.55', ), 29 => array ( 0 => '0601988', 1 => '中国银行', 2 => '4.1', 3 => '0.24', 4 => '0.01', 5 => '115464', 6 => '2865520', 7 => '4.06', 8 => '4.09', 9 => '4.1', 10 => '3.95', 11 => '0.16', 12 => '3.7', 13 => '3.11', 14 => '4.95', 15 => '3.62', 16 => '1.99', 17 => '1.49', 18 => '-1.45', 19 => '1.24', 20 => '17.78', 21 => '-5.54', 22 => '7272.79', 23 => '10382.02', 24 => '17781892', 25 => '25383916', 26 => '675.56', 27 => '261.75', 28 => '24.12', 29 => '12.88', 30 => '1.92', 31 => '0.1', 32 => '2.14', ), 30 => array ( 0 => '0601998', 1 => '中信银行', 2 => '5.19', 3 => '-0.19', 4 => '-0.01', 5 => '9159', 6 => '176988', 7 => '5.14', 8 => '5.2', 9 => '5.26', 10 => '5.13', 11 => '0.07', 12 => '2.5', 13 => '0.68', 14 => '8.49', 15 => '4.8', 16 => '-2.99', 17 => '-2.44', 18 => '-23.98', 19 => '-17.85', 20 => '3.73', 21 => '-36.82', 22 => '1373.72', 23 => '2029.73', 24 => '2641770.5', 25 => '3903334.5', 26 => '121.82', 27 => '43.12', 28 => '43.25', 29 => '14.15', 30 => '1.89', 31 => '0.11', 32 => '2.75', ), );
//剔除B股和深市
$aData = array();
foreach ($data as $k => $v) {
    if (strpos($v[1], 'B') === false && substr($v[0],0,2) == '06') {
    //if (strpos($v[1], 'B') === false ) {
        $aData[] = $v;
    }
}
echo $aCount = count($aData);
echo "<br>";

//各个市值权重
foreach ($aData as $k => $v) {
    //$aData[$k]['weight'] = $v[23]/$sum_bookvalue;
    $aData[$k]['weight'] = 1;
    $aData[$k]['lastest_price'] = $v[2] * $aData[$k]['weight'];
    $aData[$k]['up_down'] = $v[3] * $aData[$k]['weight'];
    $aData[$k]['1year_hightest'] = $v[14] * $aData[$k]['weight'];
    $aData[$k]['1year_lowest'] = $v[15] * $aData[$k]['weight'];
    $aData[$k]['1week_updown'] = $v[16] * $aData[$k]['weight'];
    $aData[$k]['4week_updown'] = $v[17] * $aData[$k]['weight'];
    $aData[$k]['13week_updown'] = $v[18] * $aData[$k]['weight'];
    $aData[$k]['52week_updown'] = $v[20] * $aData[$k]['weight'];
    $aData[$k]['thisyear_updown'] = $v[21] * $aData[$k]['weight'];
    $aData[$k]['current_bookvalue'] = $v[22] * $aData[$k]['weight'];
    $aData[$k]['bookvalue'] = $v[23] * $aData[$k]['weight'];
    $aData[$k]['share'] = $v[25] * $aData[$k]['weight'];
    $aData[$k]['revenue'] = $v[26] * $aData[$k]['weight'];
    $aData[$k]['net_profit'] = $v[27] * $aData[$k]['weight'];
    $aData[$k]['pe_ratio_lyr'] = $v[28] * $aData[$k]['weight'];
    $aData[$k]['pe_ratio_ttm'] = $v[29] * $aData[$k]['weight'];
    $aData[$k]['pb_ratio'] = $v[30] * $aData[$k]['weight'];
    $aData[$k]['eps'] = $v[31] * $aData[$k]['weight'];
    $aData[$k]['net_asset_per'] = $v[32] * $aData[$k]['weight'];
    $aData[$k]['net_profit_ratio'] = ($v[26]== 0 ||$v[27]<=0) ? 0: $v[27] / $v[26];
}


//计算与平均值差
foreach ($aData as $k => $v) {
    $aData[$k]['diff_lastest_price'] =$v['2'];
    $aData[$k]['diff_up_down'] =$v['3'];
    $aData[$k]['diff_1year_hightest'] =$v['14'];
    $aData[$k]['diff_1year_lowest'] =$v['15'];
    $aData[$k]['diff_1week_updown'] = $v['16'];
    $aData[$k]['diff_4week_updown'] =$v['17'];
    $aData[$k]['diff_13week_updown'] =$v['18'];
    $aData[$k]['diff_52week_updown'] =$v['20'];
    $aData[$k]['diff_thisyear_updown'] =$v['21'];
    $aData[$k]['diff_current_bookvalue'] =$v['22'];
    $aData[$k]['diff_bookvalue'] =$v['23'];
    $aData[$k]['diff_share'] =$v['25'];
    $aData[$k]['diff_revenue'] =$v['26'];
    $aData[$k]['diff_net_profit'] =$v['27'];
    $aData[$k]['diff_pe_ratio_lyr'] =$v['28'];
    $aData[$k]['diff_pe_ratio_ttm'] =$v['29'];
    $aData[$k]['diff_pb_ratio'] =$v['30'];
    $aData[$k]['diff_eps'] =$v['31'];
    $aData[$k]['diff_net_asset_per'] = $v['32'];
    $aData[$k]['diff_net_profit_ratio'] = $v['net_profit_ratio'] ;
}


//四级指标得分排序
$company_name = array();
$mrak_lastest_price = array();
$mrak_up_down = array();
$mrak_1week_updown = array();
$mrak_4week_updown = array();
$mrak_13week_updown = array();
$mrak_52week_updown = array();
$mrak_thisyear_updown = array();
$mrak_current_bookvalue = array();
$mrak_bookvalue = array();
$mrak_net_profit_ratio = array();
$mrak_pe_ratio_lyr = array();
$mrak_pe_ratio_ttm = array();
$mrak_pb_ratio = array();
$mrak_eps = array();
$mrak_net_asset_per = array();
foreach ($aData as $k => $v){
	$company_name[$v[0]] = $v[1];
	$mrak_lastest_price[$v[0]] = $v['diff_lastest_price'];
	$mrak_up_down[$v[0]] = $v['diff_up_down'];
	$mrak_1week_updown[$v[0]] = $v['diff_1week_updown'];
	$mrak_4week_updown[$v[0]] = $v['diff_4week_updown'];
	$mrak_13week_updown[$v[0]] = $v['diff_13week_updown'];
	$mrak_52week_updown[$v[0]] = $v['diff_52week_updown'];
	$mrak_thisyear_updown[$v[0]] = $v['diff_thisyear_updown'];
	$mrak_current_bookvalue[$v[0]] = $v['diff_current_bookvalue'];
	$mrak_bookvalue[$v[0]] = $v['diff_bookvalue'];
	$mrak_net_profit_ratio[$v[0]] = $v['diff_net_profit_ratio'];
	$mrak_pe_ratio_lyr[$v[0]] = $v['diff_pe_ratio_lyr'];
	$mrak_pe_ratio_ttm[$v[0]] = $v['diff_pe_ratio_ttm'];
	$mrak_pb_ratio[$v[0]] = $v['diff_pb_ratio'];
	$mrak_eps[$v[0]] = $v['diff_eps'];
	$mrak_net_asset_per[$v[0]] = $v['diff_net_asset_per'];
}
/*
print_r($mrak_4week_updown);
print_r($mrak_52week_updown);
print_r($mrak_thisyear_updown);
print_r($mrak_current_bookvalue);
print_r($mrak_net_profit_ratio);
*/
$mrak_lastest_price = getMark($mrak_lastest_price);
$mrak_up_down = getMark($mrak_up_down);
$mrak_1week_updown = getMark($mrak_1week_updown);
$mrak_4week_updown = getMark($mrak_4week_updown);
$mrak_13week_updown = getMark($mrak_13week_updown);
$mrak_52week_updown = getMark($mrak_52week_updown);
$mrak_thisyear_updown = getMark($mrak_thisyear_updown);
$mrak_current_bookvalue = getMark($mrak_current_bookvalue);
$mrak_bookvalue = getMark($mrak_bookvalue);
$mrak_net_profit_ratio = getMark($mrak_net_profit_ratio);
$mrak_pe_ratio_lyr = getMark($mrak_pe_ratio_lyr,'ASC');
$mrak_pe_ratio_ttm = getMark($mrak_pe_ratio_ttm,'ASC');
$mrak_pb_ratio = getMark($mrak_pb_ratio,'ASC');
$mrak_eps = getMark($mrak_eps);
$mrak_net_asset_per = getMark($mrak_net_asset_per);

//得分
function getMark($arr,$sort = 'DESC'){
	global $aCount;
	if($sort == 'DESC'){
		arsort($arr,SORT_NUMERIC );
	}elseif($sort == 'ASC'){
		asort($arr,SORT_NUMERIC );
	}
	$intval  = round(100/$aCount,1);
	$i = 0;
	foreach ($arr as $k=>$v){
		$arr[$k] =100-$intval*$i++;
	}
	return $arr;
}
$new_point = array();
$mark1_price = array();
$mark1_value = array();
$mark1_base = array();
foreach ($mrak_1week_updown as $k=>$v){
	$mark1_price[$k] = 0.2*$mrak_up_down[$k]+0.4*($mrak_1week_updown[$k]+$mrak_4week_updown[$k]+$mrak_13week_updown[$k])/3+0.4*($mrak_52week_updown[$k]+$mrak_thisyear_updown[$k])/2;
	$mark1_base[$k] = 0.2*(0.5*$mrak_current_bookvalue[$k]+0.5*$mrak_bookvalue[$k])+0.8*$mrak_net_profit_ratio[$k];
	$mark1_value[$k] = 0.5*(0.5*(0.5*$mrak_pe_ratio_lyr[$k]+0.5*$mrak_pe_ratio_ttm[$k])+0.5*$mrak_pb_ratio[$k])+0.5*(0.5*$mrak_eps[$k]+0.5*$mrak_net_asset_per[$k]);
	$new_point[$k] = 0.2*$mark1_price[$k]+0.4*$mark1_base[$k]+0.4*$mark1_value[$k];
}
/*
print_r($mark1_price);
print_r($mark1_base);
print_r($mark1_value);
print_r($new_point);
*/

arsort($new_point,SORT_NUMERIC );

$intval  = round(100/$aCount,1);
$i = 0;
$point = array();
$level = array();
foreach ($new_point as $k=>$v){
	$m = 100-$intval*$i++;
	$point[$k] = array($m,getLevel($m),$company_name[$k]);
}
echo "<pre>";
print_r($point);
echo "</pre>";
function getLevel($mark){
	$l = '';
	if($mark>=91 && $mark<=100){
		$l = 'AAA';
	}elseif ($mark>=81 && $mark<91){
		$l = 'AA';
	}elseif ($mark>=71 && $mark<81){
		$l = 'A';
	}elseif ($mark>=61 && $mark<71){
		$l = 'BBB';
	}elseif ($mark>=51 && $mark<61){
		$l = 'BB';
	}elseif ($mark>=41 && $mark<51){
		$l = 'B';
	}elseif ($mark>=31 && $mark<41){
		$l = 'CCC';
	}elseif ($mark>=21 && $mark<31){
		$l = 'CC';
	}elseif ($mark>=11 && $mark<21){
		$l = 'C';
	}elseif ($mark>=0 && $mark<11){
		$l = 'D';
	}
	return $l;
}

//print_r($aData);
//输出代码
foreach ($aData as $k => $v) {
    echo "<tr>
    <td>($v[0])<br>$v[1]</td>
    <td>". $point[$v[0]][1] ."</td>
    <td>". round($v[2], 2) ."</td>
    <td>". round($v[3], 4)*100 ."%</td>
    <td>". round($v[4], 2) ."</td>
    <td>". round($v[5]/10000, 2) ."</td>
    <td>". round($v[7], 2) ."</td>
    <td>". round($v[8], 2) ."</td>
    <td>". round($v[9], 2) ."</td>
    <td>". round($v[10], 2) ."</td>
    <td>". round($v[11], 2) ."</td>
    <td>". round($v[12], 2) ."</td>
    <td>". round($v[13], 2) ."</td>
    <td>". round($v[14], 2)."</td>
    <td>". round($v[15], 2)."</td>
    <td>". round($v[16], 2)."%</td>
    <td>". round($v[17], 2)."%</td>
    <td>". round($v[18], 2)."%</td>
    <td>". round($v[20], 2)."%</td>
    <td>". round($v[21], 2)."%</td>
    <td>". round($v[22], 2)."</td>
    <td>". round($v[23], 2)."</td>
    <td>". round($v[24], 2)."</td>
    <td>". round($v[25], 2)."</td>
    <td>". round($v[26], 2)."</td>
    <td>". round($v[27], 2)."</td>
    <td>". round($v[28], 2)."</td>
    <td>". round($v[29], 2)."</td>
    <td>". round($v[30], 2)."</td>
    <td>". round($v[31], 2)."</td>
    <td>". round($v[32], 2)."</td>
    <td>". round($v['diff_lastest_price'], 4) ."</td>
    <td>". round($v['diff_up_down'],4) ."</td>
    <td>". round($v['diff_1year_hightest'], 4) ."</td>
    <td>". round($v['diff_1year_lowest'], 4) ."</td>
    <td>". round($v['diff_1week_updown'], 4) ."</td>
    <td>". round($v['diff_4week_updown'], 4) ."</td>
    <td>". round($v['diff_13week_updown'], 4) ."</td>
    <td>". round($v['diff_52week_updown'], 4) ."</td>
    <td>". round($v['diff_thisyear_updown'], 4) ."</td>
    <td>". round($v['diff_current_bookvalue'], 4) ."</td>
    <td>0</td>
    <td>". round($v['diff_share'], 4) ."</td>
    <td>". round($v['diff_revenue'], 4) ."</td>
    <td>". round($v['diff_net_profit'], 4) ."</td>
    <td>". round($v['diff_pe_ratio_lyr'], 4) ."</td>
    <td>". round($v['diff_pe_ratio_ttm'], 4) ."</td>
    <td>". round($v['diff_pb_ratio'], 4) ."</td>
    <td>". round($v['diff_eps'], 4) ."</td>
    <td>". round($v['diff_net_asset_per'], 4) ."</td>
  </tr>";
}
?>
</table>

</body>
</html>